package com.ctsi.ssdc.repository;

import com.ctsi.ssdc.domain.LitemallComment;
import com.ctsi.ssdc.domain.LitemallCommentExample;
import java.util.List;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Options;
import org.apache.ibatis.annotations.Param;

/**
 * @author ctsi-biyi-generator
*/
@Mapper
public interface LitemallCommentRepository extends BaseRepository<LitemallComment, Integer, LitemallCommentExample> {
    @Override
    long countByExample(LitemallCommentExample example);

    @Override
    int deleteByExample(LitemallCommentExample example);

    @Override
    int deleteByPrimaryKey(Integer id);

    @Options(useGeneratedKeys=true, keyProperty="id")
    @Override
    int insert(LitemallComment record);

    @Options(useGeneratedKeys=true, keyProperty="id")
    @Override
    int insertSelective(LitemallComment record);

    @Override
    List<LitemallComment> selectByExample(LitemallCommentExample example);

    @Override
    LitemallComment selectByPrimaryKey(Integer id);

    @Override
    int updateByExampleSelective(@Param("record") LitemallComment record, @Param("example") LitemallCommentExample example);

    @Override
    int updateByExample(@Param("record") LitemallComment record, @Param("example") LitemallCommentExample example);

    @Override
    int updateByPrimaryKeySelective(LitemallComment record);

    @Override
    int updateByPrimaryKey(LitemallComment record);
}